

<h3>Administrar Personas</h3>

<div style="float:right">

<?php $this->widget('bootstrap.widgets.TbButton', array(
				'url'=>array('/Persona/create'),
    'label'=>'Nuevo Nota',
    'type'=>'info', // null, 'primary', 'info', 'success', 'warning', 'danger' or 'inverse'
    'size'=>'small',
    'htmlOptions'=>array('class'=>'cargar'), // null, 'large', 'small' or 'mini'
)); ?>
</div>

<?php  $this->widget('bootstrap.widgets.TbGridView', array(
    'type'=>'striped bordered condensed',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		'doc',
		'nombre',
		'direccion',
		array(
			'class'=>'bootstrap.widgets.TbButtonColumn',
			'template'=>'{view} {update} {delete}',
            'header'=>'Acciones',
			'buttons'=>array(
			
			'view' => array(
            'label'=>'Ver'
		),
		'update' => array(
            'label'=>'Modificar'
		),
		
		'delete' => array(
            'label'=>'Borrar'
		),
                            
                        				),
            'deleteConfirmation'=>'¿Estas seguro que desea borrar el Estado?.',
            'class'=>'bootstrap.widgets.TbButtonColumn',
            'htmlOptions'=>array('style'=>'width: 60px'),
		),
	),
)); ?>
